<?php
	$host = "127.0.0.1";
	$mySqlUser = "root";
	$mySqlPassword = "14112534";
	
	$con = mysql_connect($host,$mySqlUser,$mySqlPassword);
	mysql_select_db("project", $con);;
	
	if (!$con) {
		header("content-type: text/plain; charset=tis-620");
  		die('ไม่สามารถติดต่อฐานขอมูลได้ : ' . mysql_error());
  	}
  	
  	mysql_query("SET NAMES UTF8");
?>